package com.jsbs.iam.user.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.ToString;

import java.util.List;

/**
 * @BelongsProject: iam
 * @BelongsPackage: com.jsbs.iam.user.vo
 * @Author: WangJiYuan
 * @Description: TODO
 * @Version: 2022-12-13  09:31
 */
@Data
@ToString
@JsonInclude(JsonInclude.Include.NON_NULL)
public class OrgThreeInfo {

    //编码
    private String code;
    //名称
    private String name;
    //父级编码
    private String parentCode;
    //组织类型编码
    private String orgTypeCode;
    //组织层级
    private Integer orgLevel;
    // 排序号  index 名称会报错
    private Integer orgIndex;
    // 同步标识 0:同步, 1:IAM自建
    private Integer syncFlag;
    //是否有权限 0:有权限 1:没有权限
    private Integer disabled;
    // 是否岗位 1是 0否
    private Integer isPost;

    //子部门数据集合
    private List<OrgThreeInfo> childrenOrgs;


}
